<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>highlight_objectivecxx.mm</title>
<meta name="generator" content="KF5::SyntaxHighlighting - Definition (Objective-C++) - Theme (Breeze Light)"/>
</head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
<span style="color:#006e28;">#include </span><span style="color:#ff5500;">&lt;cstdio&gt;</span>

<span style="color:#006e28;">#import </span><span style="color:#ff5500;">&lt;Fondation/Fondation.h&gt;</span>

<span style="color:#0057ae;">void</span> cxx_method(<span style="color:#0057ae;">const</span> std::string &amp;myText)
{
	NSString *string = [NSString stringWithCString:myText.c_str()
                                 		  encoding:[NSString defaultCStringEncoding]];
	NSLog(<span style="color:#bf0303;">@&quot;String:%@&quot;</span>,string);
}
</pre></body></html>
